﻿do
	IGAS:NewAddon("IGAS_Studio")

	local _DB

	------------------------------------------------------------
	-- ScriptType
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.OptionSlider, "ScriptType")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.Slider, "ScriptType"))

	------------------------------------------------------------
	-- Function
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.OptionSlider, "Function")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.Slider, "Function"))

	_DB:AddCodeHelp("SetMinMaxValues", [=[Sets the minimum and maximum values for the slider]=], [=[SetMinMaxValues(minValue, maxValue)]=])
	------------------------------------------------------------
	-- Property
	------------------------------------------------------------
	_DB = CreateHelpDB(IGAS.GUI.Widget.OptionSlider, "Property")
	_DB:SetBaseHelpDB(CreateHelpDB(IGAS.GUI.Widget.Slider, "Property"))

	_DB:AddCodeHelp("TooltipAnchor", [[ the tooltip's position]], IGAS:GetPropertyType("Anchor"))
	_DB:AddCodeHelp("Title", [[the text to be diplayed at the topleft of the slide bar]], IGAS:GetPropertyType("string"))
	_DB:AddCodeHelp("TooltipText", [[the tooltip to be shown when mouse is over the silder bar]], IGAS:GetPropertyType("string"))
end
